package org.example.pojo.bo;

import com.alibaba.excel.write.handler.SheetWriteHandler;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExcelInfoBO {

    private String fileName;

    private List<SheetInfo> sheetList;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SheetInfo {

        private String sheetName;

        private List<?> sheetData;

        private Class<?> sheetDataClass;

        private SheetWriteHandler sheetWriteHandler;
    }

}
